import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SBossFieldMyScore
    
    export  class SBossFieldMyScore extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SBossFieldMyScore();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.force);
            arg1.writeInt(this.killPlayer);
            arg1.writeInt(this.honour);
            arg1.writeInt(this.assist);
            arg1.writeInt(this.continuityKill);
            arg1.writeInt(this.instantKill);
            arg1.writeInt(this.beKill);
            arg1.writeBool(this.haveTask);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.force = arg1.readInt();
            this.killPlayer = arg1.readInt();
            this.honour = arg1.readInt();
            this.assist = arg1.readInt();
            this.continuityKill = arg1.readInt();
            this.instantKill = arg1.readInt();
            this.beKill = arg1.readInt();
            this.haveTask = arg1.readBool();
            return;
        }

        public /* const */_type: int=671;

        public /* var */force: int;

        public /* var */killPlayer: int;

        public /* var */honour: int;

        public /* var */assist: int;

        public /* var */continuityKill: int;

        public /* var */instantKill: int;

        public /* var */beKill: int;

        public /* var */haveTask: Boolean;

        public static /* var */_regist: SBossFieldMyScore;
    }

            SBossFieldMyScore._regist = new SBossFieldMyScore(true);
        